<template>
    <div id="app">
        <keep-alive>
            <router-view v-if="$route.meta.keepAlive"></router-view>
        </keep-alive>
        <router-view v-if="!$route.meta.keepAlive">
            <!-- 这里是不被缓存的视图组件，比如 Edit！ -->
        </router-view>
        <bottomNav></bottomNav>
    </div>
</template>

<script>
    import bottomNav from "@/components/common/Nav/index.vue"
    import dev from  "@/server/dev.js"
    export default {
        name: 'download',
        components: {
            bottomNav
        },
        mounted(){
            dev();
        }
    }
</script>

<style lang="less">
    @import "./style/animate";
    @import "./style/common";
</style>
